package com.wshl.aijiuunion.utils;


import com.wshl.aijiuunion.R;
import com.wshl.aijiuunion.controller.fragment.HomeFragment;
import com.wshl.aijiuunion.controller.fragment.MineFragment;
import com.wshl.aijiuunion.controller.fragment.ShopFragment;
import com.wshl.aijiuunion.controller.fragment.VideoFragment;

public enum MainTabs {

    Home(0, "首页", R.drawable.bottom_home_selector, HomeFragment.class),
    Shop(1, "商城", R.drawable.bottom_shop_selector, ShopFragment.class),
    Video(2, "视频", R.drawable.bottom_video_selector, VideoFragment.class),
    Mine(3, "我的", R.drawable.bottom_mine_selector, MineFragment.class);


    private int i;
    private String name;
    private int icon;
    private Class<?> cla;

    MainTabs(int i, String name, int icon, Class<?> cla) {
        this.i = i;
        this.name = name;
        this.icon = icon;
        this.cla = cla;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public Class<?> getCla() {
        return cla;
    }

    public void setCla(Class<?> cla) {
        this.cla = cla;
    }
}
